.content {
    contain: strict
    flex: 1;
    min-height: 0;
}